package com.ruoyi.quality.domain;

import com.ruoyi.safe.domain.BizSafeAttach;
import com.ruoyi.safe.domain.BizSafeDocAttach;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 施工规范文件对象 common_construction_file
 * 
 * @author mahl2
 * @date 2024-02-27
 */
public class CommonConstructionFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 分类id */
    @Excel(name = "分类id")
    private Long commonConstructionId;

    /** 分类id */
    @Excel(name = "分类id")
    private String commonConstructionName;

    /** 标题 */
    @Excel(name = "标题")
    private String commonConstructionTitle;

    /** 描述 */
    @Excel(name = "描述")
    private String commonConstructionContent;

    /** 文件id串 */
    @Excel(name = "文件id串")
    private String commonConstructionFileId;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    private List<BizSafeDocAttach> bizSafeAttaches;

    public List<BizSafeDocAttach> getBizSafeAttaches() {
        return bizSafeAttaches;
    }

    public void setBizSafeAttaches(List<BizSafeDocAttach> bizSafeAttaches) {
        this.bizSafeAttaches = bizSafeAttaches;
    }

    /** 分类状态（0正常 1停用） */
    @Excel(name = "分类状态", readConverterExp = "0=正常,1=停用")
    private String status;

    private String typeNo;

    public String getTypeNo() {
        return typeNo;
    }

    public String getCommonConstructionName() {
        return commonConstructionName;
    }

    public void setCommonConstructionName(String commonConstructionName) {
        this.commonConstructionName = commonConstructionName;
    }

    public void setTypeNo(String typeNo) {
        this.typeNo = typeNo;
    }

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
    /*规范文件分类*/
    private String commonConstructionTypeName;

    private String bucket;

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getCommonConstructionTypeName() {
        return commonConstructionTypeName;
    }

    public void setCommonConstructionTypeName(String commonConstructionTypeName) {
        this.commonConstructionTypeName = commonConstructionTypeName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommonConstructionId(Long commonConstructionId) 
    {
        this.commonConstructionId = commonConstructionId;
    }

    public Long getCommonConstructionId() 
    {
        return commonConstructionId;
    }
    public void setCommonConstructionTitle(String commonConstructionTitle) 
    {
        this.commonConstructionTitle = commonConstructionTitle;
    }

    public String getCommonConstructionTitle() 
    {
        return commonConstructionTitle;
    }
    public void setCommonConstructionContent(String commonConstructionContent) 
    {
        this.commonConstructionContent = commonConstructionContent;
    }

    public String getCommonConstructionContent() 
    {
        return commonConstructionContent;
    }
    public void setCommonConstructionFileId(String commonConstructionFileId) 
    {
        this.commonConstructionFileId = commonConstructionFileId;
    }

    public String getCommonConstructionFileId() 
    {
        return commonConstructionFileId;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commonConstructionId", getCommonConstructionId())
            .append("commonConstructionTitle", getCommonConstructionTitle())
            .append("commonConstructionContent", getCommonConstructionContent())
            .append("commonConstructionFileId", getCommonConstructionFileId())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
